Drools Tutorial
================================

Data Model
------------

* SCENARIO: We are in a bank that handles "accounts" 
and on each account there can be "movements". 
The purpose is to calculate the account balance between 
an "accounting period" of all accounts given the movements it has.

* Create an AccountProject of type drools as previously described.

* Create a java package that we can name "droolscours" package in 
"src/main/java".

* Create 3 java classes : Account, AccountingPeriod and CashFlow
on the new package.

* In the Account class, add two "private" attributes:
accountNo (long) and balance (double),
and generate getters/setters (using Source/...).

* In AccountingPeriod add startDate (java.util.Date) and endDate (Date)
and generate getters/setters.

* In CashFlow add 
- mvtDate (java.util.Date) 
- amount (double)
- type (int)
- accountNo (long)
and generate getters/setters.





